package day02;

public class DoubleDemo {
    public static void main(String[] args) {
        double a = 5.14;
        float b = 5.14f;
        System.out.println(a-b);
        System.out.println(b-a);

        double A=1.04;
        float B=1.03F;
        System.out.println(A-B);

        double c=3, d=2.9;
        System.out.println(c-d);

        double C =3.2;
        float D = 3.1F;
        System.out.println(C-D);
    }
}
